home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Online / OpenURL / Developer / Source / library_api.h < prev    next >
C/C++ Source or Header  |  1999-09-26  |  1KB  |  40 lines

  1. /* 
  2. ** openurl.library - universal URL display and browser launcher library
  3. ** Written by Troels Walsted Hansen <troels@thule.no>
  4. ** Placed in the public domain.
  5. **
  6. ** Include file for API library functions.
  7. */
  8.  
  9. /**************************************************************************
  10. *
  11. * Prototypes.
  12. *
  13. */
  14.  
  15. LIB int __UserLibInit(REG(a6) struct Library *OpenURLBase);
  16. LIB void __UserLibCleanup(REG(a6) struct Library *OpenURLBase);
  17. LIB BOOL LIB_URL_OpenA(REG(a0) STRPTR url, REG(a1) struct TagItem *tags);
  18. LIB struct URL_Prefs *LIB_URL_GetPrefs(VOID);
  19. LIB VOID LIB_URL_FreePrefs(REG(a0) struct URL_Prefs *up);
  20. LIB BOOL LIB_URL_SetPrefs(REG(a0) struct URL_Prefs *up, REG(d0) BOOL permanent);
  21. LIB struct URL_Prefs *LIB_URL_GetDefaultPrefs(VOID);
  22. LIB BOOL LIB_URL_LaunchPrefsApp(VOID);
  23. LIB ULONG LIB_DoFunction(REG(a0) struct RexxMsg *rxmsg);
  24.  
  25. /**************************************************************************
  26. *
  27. * Global variables.
  28. *
  29. */
  30.  
  31. extern struct DosLibrary *DOSBase;
  32. extern struct Library *UtilityBase;
  33. extern struct Library *IFFParseBase;
  34. extern struct RxsLib *RexxSysBase;
  35. extern struct URL_Prefs *Prefs;
  36. extern struct SignalSemaphore PrefsSemaphore, HandlerSemaphore;
  37.  
  38. extern struct Process *HandlerProcess;
  39. extern struct MsgPort *HandlerMsgPort;
  40.